package com.hns.can.base.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.hns.can.common.entity.BaseEntity;

/**
 * 数据权限资源类型注册表 实体
 * @author:Fisher
 * @email:zhuangcaijin@126.com
 * @version Revision 2.0.0
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_SYS_RES_REGISTER")
public class SysResRegisterEntity extends BaseEntity {

	// Fields
	@Id
	@Column(name = "ID")
	private String id;

	@Column(name = "RES_ENTIRY_CLASS")
	private String resEntiryClass;

	@Column(name = "RES_TABLE")
    private String resTable;

	@Column(name = "RES_PRIMARY_KEY_FIELD")
	private String resPrimaryKeyField;

	@Column(name = "RES_DISPLAY_MODE")
	private BigDecimal resDisplayMode;
	
	@Column(name = "RES_CODE_FIELD")
	private String resCodeField;

	@Column(name = "RES_NAME_FIELD")
    private String resNameField;

	@Column(name = "RES_PARENT_ID_FIELD")
	private String resParentIdField;
	
	@Column(name = "FIX_QRY_CONDITION")
	private String fixQryCondition;
	
	@Column(name = "REMARK")
	private String remark;

	@Column(name = "CREATE_TS")
	private Date createTs;
	 
	public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }
    
    public String getResEntiryClass() {
        return this.resEntiryClass;
    }

    public void setResEntiryClass(String resEntiryClass) {
        this.resEntiryClass = resEntiryClass;
    }
    
    public String getResTable() {
        return this.resTable;
    }

    public void setResTable(String resTable) {
        this.resTable = resTable;
    }
    
    public String getResPrimaryKeyField() {
        return this.resPrimaryKeyField;
    }

    public void setResPrimaryKeyField(String resPrimaryKeyField) {
        this.resPrimaryKeyField = resPrimaryKeyField;
    }
    
    public BigDecimal getResDisplayMode() {
        return this.resDisplayMode;
    }

    public void setResDisplayMode(BigDecimal resDisplayMode) {
        this.resDisplayMode = resDisplayMode;
    }
    
    public String getResCodeField() {
        return this.resCodeField;
    }

    public void setResCodeField(String resCodeField) {
        this.resCodeField = resCodeField;
    }
    
    public String getResNameField() {
        return this.resNameField;
    }

    public void setResNameField(String resNameField) {
        this.resNameField = resNameField;
    }
    
    public String getResParentIdField() {
        return this.resParentIdField;
    }

    public void setResParentIdField(String resParentIdField) {
        this.resParentIdField = resParentIdField;
    }
    
    public String getFixQryCondition() {
        return this.fixQryCondition;
    }

    public void setFixQryCondition(String fixQryCondition) {
        this.fixQryCondition = fixQryCondition;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreateTs() {
        return createTs;
    }

    public void setCreateTs(Date createTs) {
        this.createTs = createTs;
    }
}